package com.lengxf.desiign.file;

import com.lengxf.desiign.AbstractFile;

/**
 * 叶子构件类
 * By Lengxf
 */
public class VideoFile implements AbstractFile {

    private final String name;

    public VideoFile(String name) {
        this.name = name;
    }

    @Override
    public void killVirus() {
        System.out.println("对视频文件进行杀毒,文件名称为:" + name);
    }

}
